package game.util.conf;

import game.util.conf.base.SystemInfo;

/**
 * Some configurable items about player.
 * 
 * @author Linzy
 * Create Date: 2010 1 6 10:34:41
 */
public class PlayerStatic {

	private static final String FILE_P_BASE = "player_base.properties";

	private static int getBaseInt(String key) {
		return SystemInfo.getIntProps(FILE_P_BASE, key);
	}

	/**
	 * The default hp value when register a new player.
	 */
	public static int defHp = getBaseInt("defHp");

	/**
	 * The default money when register a new player.
	 */
	public static int defMoney = getBaseInt("defMoney");

	/**
	 * The default max carry value.
	 * 
	 */
	public static int defMaxCarry = getBaseInt("defMaxCarry");

	/**
	 * The default defCoordinateId.
	 */
	public static int defCoordId = getBaseInt("defCoordId");

	/**
	 * The default attack protect time.
	 */
	public static int defAttackProtectTime = getBaseInt("defAttackProtectTime");

	/**
	 * The defualt attack interval.
	 */
	public static int defAttackInterval = getBaseInt("defAttackInterval");

} // end of class
